package com.bst.bsj.common.dal.ibatis;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.bst.bsj.common.dal.daointerface.UserMessageDAO;
import com.bst.bsj.common.dal.dataobject.UserMessage;
import com.sylinxsoft.tools.dao.impl.CommonBaseDAOImpl;

@Service
public class UserMessageDAOImpl extends CommonBaseDAOImpl implements UserMessageDAO {

  @Override
  public void batchInsert(List<UserMessage> umList) {
      getSqlMapClientTemplate().insert(getNameSpace() + ".BATCH_INSERT", umList);
  }

  @Override
  public void deleteByParams(Map<String, Object> paramsMap) {
    getSqlMapClientTemplate().delete(getNameSpace() + ".MS_DELETE", paramsMap);    
  }


  
  
}
